#if !USE_CONSOLE

#ifndef OUTPUT_H
#define OUTPUT_H

#include <QFile>
#include <QTextStream>

#include "src/scene/scene.h"

class Output{
    public:
        Output();
        ~Output();

        void parseObjects(QFile *, Scene *);
        void parseObjects(Scene *);

        bool isFileNull();
        void setFile(QFile *);

    private:
        QFile *file;//soemente o arquivo dos objetos
        void writeObject(QTextStream *, Object *, int = -1);
        void writeLight(QTextStream *, Light *);
        void writeCamera(QTextStream *, Camera *);
};

#endif

#endif //!USE_CONSOLE
